package com.firefighting.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
//zxt
@Controller
@RequestMapping("/company")
public class testController {

	@RequestMapping("blank")
	public String blank(HttpServletRequest request,Integer menuid){

		return "blank";
	}
	
	@RequestMapping("companyIndex")
	public String index(HttpServletRequest request,Integer menuid){

		return "person/position";
	}
	@RequestMapping("companyAdd")
	public String index2(HttpServletRequest request,Integer menuid){

		return "enterprise/addEnterprise";
	}
	@RequestMapping("companyEdit")
	public String index3(HttpServletRequest request,Integer menuid){

		return "enterprise/editEnterprise";
	}
	@RequestMapping("companyView")
	public String index4(HttpServletRequest request,Integer menuid){

		return "enterprise/viewEnterprise";
	}
	
	@RequestMapping("accountList")
	public String index5(HttpServletRequest request,Integer menuid){

		return "account/accountList";
	}
	
	@RequestMapping("accountAdd")
	public String index6(HttpServletRequest request,Integer menuid){

		return "account/addAccount";
	}
	
	@RequestMapping("accountEdit")
	public String index7(HttpServletRequest request,Integer menuid){

		return "account/editAccount";
	}
	@RequestMapping("contractView")
	public String index8(HttpServletRequest request,Integer menuid)
	{
		return "contract/contractView";
	}
	@RequestMapping("buildService")
	public String index9(HttpServletRequest request,Integer menuid)
	{
		return "contract/buildService";
	}
	@RequestMapping("addBuilding")
	public String index10(HttpServletRequest request,Integer menuid)
	{
		return "contract/addBuilding";
	}
	@RequestMapping("editBuilding")
	public String index11(HttpServletRequest request,Integer menuid)
	{
		return "contract/editBuilding";
	}

	@RequestMapping("markPosition")
	public String index13(HttpServletRequest request,Integer menuid)
	{
		return "contract/markPosition";
	}
	
	@RequestMapping("main")
	public String main(HttpServletRequest request,Integer menuid)
	{
		return "index_v1";
	}
	
	@RequestMapping("plan1")
	public String plan1(HttpServletRequest request,Integer menuid)
	{
		return "plan/planView";
	}
	
	@RequestMapping("plan2")
	public String plan2(HttpServletRequest request,Integer menuid)
	{
		return "plan/projectPlan";
	}
	@RequestMapping("plan3")
	public String plan3(HttpServletRequest request,Integer menuid)
	{
		return "plan/makePlan";
	}
	
	@RequestMapping("task")
	public String task(HttpServletRequest request,Integer menuid)
	{
		return "maintenanceTask/task";
	}
	@RequestMapping("info")
	public String info(HttpServletRequest request,Integer menuid)
	{
		return "maintenanceTask/check";
	}
	@RequestMapping("taskinfo")
	public String taskinfo(HttpServletRequest request,Integer menuid)
	{
		return "maintenanceTask/taskInfo";
	}
	@RequestMapping("teamers")
	public String fireteam(HttpServletRequest request,Integer menuid)
	{
		return "fireTeam/teamers";
	}
	@RequestMapping("report")
	public String report(HttpServletRequest request,Integer menuid)
	{
		return "report/searchReport";
	}
	@RequestMapping("generateReport")
	public String generateRepor(HttpServletRequest request,Integer menuid)
	{
		return "report/generateReport";
	}
	@RequestMapping("zdproject")
	public String project(HttpServletRequest request,Integer menuid)
	{
		return "zdMaintenanceProject";
	}
	@RequestMapping("viewreport")
	public String viewreport(HttpServletRequest request,Integer menuid)
	{
		return "maintenanceProject/viewReport";
	}
	@RequestMapping("viewcontract")
	public String viewcontract(HttpServletRequest request,Integer menuid)
	{
		return "maintenanceProject/viewContract";
	}
	@RequestMapping("viewTask")
	public String viewTask(HttpServletRequest request,Integer menuid)
	{
		return "maintenanceProject/viewTask";
	}
	@RequestMapping("changePassword")
	public String changePassword(HttpServletRequest request,Integer menuid)
	{
		return "changePassword";
	}
}
